#include "mainwindow.h"

#include <QApplication>
#include "modelextendel.h"
#include<QTableView>
#include<QItemSelectionModel>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    ModelExtendel model;
    QTableView table;
    table.setModel(&model);
    table.resize(500,300);
    table.setWindowTitle("ModelExtended模型扩展--测试操作");
    table.show();//显示表视图
    return a.exec();
}
